package com.atguigu;import com.atguigu.cache_三级缓存demo.InstanceA;import com.atguigu.config.CacheConfig;import org.junit.Test;import org.springframework.context.annotation.AnnotationConfigApplicationContext;public class IOCTest_Cache {    @Test    public void test01() {        AnnotationConfigApplicationContext ctx                = new AnnotationConfigApplicationContext(CacheConfig.class);        InstanceA instanceA = ctx.getBean(InstanceA.class);        InstanceA result = instanceA.getInstanceB().getInstanceA();        System.out.println(result);    }}